function stat = DLBPk_prepare_process(img, param, stat, count)
    nh = param.local_func(img, param.radius, param.neighbors, 0, 'nh');
    stat.value = stat.value + nh;
    stat.total = stat.total + 1;
end
